﻿package com.fox2d.events 
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author Orlando Leite
	 */
	public class GameKeyEvent extends Event
	{
		public static const BTN_DOWN:String = "btndown";
		public static const BTN_UP:String = "btnup";
		
		private var _btn:String;
		
		public function GameKeyEvent( type:String, btn:String, bubbles:Boolean = false, cancelable:Boolean = false ) 
		{
			super( type, bubbles, cancelable );
			
			_btn = btn;
		}
		
		public function get btn():String
		{
			return _btn;
		}
		
	}
	
}